//
// Created by luolijun on 2021/11/9.
//
#ifndef FALCONDOCUMENT_H
#define FALCONDOCUMENT_H

#include "falcon/facade.h"
#include "falcon/model.h"

namespace falcon {

class FalconDocument {
public:
    Project* project;
    FacadePrototypeRepo* facadeRepo;
    bool modified;
    Facade* pendingFacade;

public:
    FalconDocument();
    virtual ~FalconDocument();
    int open(const QString& filename);
    int save(const QString& filename);
    int saveAs(const QString& filename);
    void close();
};

} // namespace falcon
#endif // FALCONDOCUMENT_H
